package com.example.rabbit.enums;

import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @description: 延时交换机  CustomExchange
 */
@Getter
@NoArgsConstructor
public enum DelayEnum {

    /**
     * OTC订单
     */
    OTC_ORDER("otc_order_exchange", "otc_order_queue", "#"),

    TIME_OUT_NOTIFY("otc_timeout_notify_exchange", "otc_timeout_notify_queue", "#");

    private String exchange;


    private String queue;


    private String routingKey;


    DelayEnum(String exchange, String queue, String routingKey) {
        this.exchange = exchange;
        this.queue = queue;
        this.routingKey = routingKey;
    }


}
